<?php 
	/*$host='localhost';
	$u='root';
	$p='root';
	$db='bpbk';
	
	mysql_connect($host,$u,$p);
	mysql_select_db($db);
	mysql_query("set names'utf8'");
*/
	$serverName = "THANHNGUYEN-PC\SQLEXPRESS";
	$connectionInfo = array( "Database"=>"BPBK", "UID"=>"thanh", "PWD"=>"1","CharacterSet" => "UTF-8");
	
	//connection to the database
	$conn = sqlsrv_connect( $serverName, $connectionInfo)
	  or die("Couldn't connect to SQL Server on $myServer"); 
	
	
?>

